package App.Model.Export;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class CrmProjectContactExp {
    @Column(name = "recid")
    @Id
    private String recid;

    @Column(name = "name")
    private String name;

    @Column(name = "phone")
    private String phone;

    public String getRecid() {
        return recid;
    }

    public void setRecid(String recid) {
        this.recid = recid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getRectype() {
        return rectype;
    }

    public void setRectype(int rectype) {
        this.rectype = rectype;
    }

    //0:合议庭人员,1:书记员人员'
    @Column(name = "rectype")
    private int rectype;

    public String getCombineName() {
        return String.format("%s %s",name,phone);
    }
}
